Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(master): release 10.0.0 #186

Merged

Conversation

yc-ui-bot
Copy link
Contributor

@yc-ui-bot yc-ui-bot commented Feb 6, 2024

🤖 I have created a release beep boop

10.0.0 (2024-02-06)

⚠ BREAKING CHANGES

  • feat!: use diplodoc/latex-extension instead of markdown-it-katex (#184)
    • added packages to peerDependencies: @diplodoc/latex-extension, katex, markdown-it
    • editor's Math extension now use @diplodoc/latex-extension instead of markdown-it-katex
    • Math extension removed from YfmPreset/YfmSpecsPreset and package root export
    • added options to Math extension

    Example of using a Math extension:

    import {Math} from '@doc-tools/yfm-editor/_/extensions/yfm/Math';
    
    // ...
    
    builder.use(Math, {
    // required
    loadRuntimeScript: async () => {
        await Promise.all([
        import('@diplodoc/latex-extension/runtime'),
        import('@diplodoc/latex-extension/runtime/styles'),
        ]);
    },
    // optional; if you need custom sanitizing
    sanitize: (html) => /* sanitize html */ html,
    // optional; options to be passed to katex
    katexOptions: {},
    });

Features

  • feat!: use diplodoc/latex-extension instead of markdown-it-katex (#184) (80ad40f)

Bug Fixes


This PR was generated with Release Please. See documentation.

@yc-ui-bot
Copy link
Contributor Author

Preview is ready.

@d3m1d0v d3m1d0v force-pushed the release-please--branches--master--components--yfm-editor branch from a1bf68e to 690bf36 Compare February 6, 2024 13:25
@d3m1d0v d3m1d0v changed the title chore(master): release 9.3.2 chore(master): release 10.0.0 Feb 6, 2024
@d3m1d0v d3m1d0v merged commit 85769c1 into master Feb 6, 2024
2 checks passed
@d3m1d0v d3m1d0v deleted the release-please--branches--master--components--yfm-editor branch February 6, 2024 13:30
@yc-ui-bot
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants